home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / QuickTime VR / MacOS / QuickDraw™ 3D 1.0.6F4 SDK / Development / RAVE SDK 1.0.6 GM for MacOS / Example Projects / GameScene_prefix.h < prev    next >
Encoding:
Text File  |  1996-04-30  |  1.4 KB  |  59 lines  |  [TEXT/CWIE]

  1. // ===========================================================================
  2. //     GameSceneTest_prefix.h
  3. // ===========================================================================
  4.  
  5.  
  6. // ===========================================================================
  7. //     Compiling Options
  8. // ===========================================================================
  9.  
  10. #define    kQAMacOS    1            // Target is MacOS
  11. #define kQAGeneric    2            // Target is generic platform
  12. #define kQAWin32    3            // Target is Win32
  13.  
  14. #define kQAPlatform    kQAMacOS    // Compile for MacOS
  15.  
  16. #define kGSDebug    1            // turn on the assertions
  17.  
  18.  
  19. // ===========================================================================
  20. //     Platform Specific Definitions
  21. // ===========================================================================
  22.  
  23. #if (kQAPlatform == kQAMacOS)
  24.     #include <Types.h>
  25. #elif (kQAPlatform == kQAWin32)
  26.     #ifndef NULL
  27.         #if !defined(__cplusplus) && (defined(__SC__) || defined(THINK_C))
  28.             #define NULL ((void *) 0)
  29.         #else
  30.             #define NULL 0
  31.         #endif
  32.     #endif
  33.     
  34.     #ifndef nil
  35.         #define nil NULL
  36.     #endif
  37.     
  38.     #if defined(false)
  39.       #if false != 0
  40.         #error Incompatible 'false' already #defined
  41.       #endif
  42.     #else
  43.       #define false 0
  44.     #endif
  45.     
  46.     #if defined(true)
  47.       #if true != 1
  48.         #error Incompatible 'true' already #defined
  49.       #endif
  50.     #else
  51.       #define true 1
  52.     #endif
  53.     
  54.     #define Boolean unsigned char
  55.     #define Byte unsigned char
  56. #endif
  57.  
  58.  
  59.